package com.itcast.dao;


import com.itcast.health.pojo.Member;
import com.itcast.health.pojo.RelativeInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: libin
 * @date: 2019/12/3 14:54
 * @version: 1.0
 * @describe:
 */
public interface RelativeDao {

    Member findByNameAndIdCard(@Param("relativeInfoVo") RelativeInfoVo relativeInfoVo);

    void add(@Param("id") Integer id, @Param("relativeInfoVo") RelativeInfoVo relativeInfoVo);

    List<Member> findAllRelative(@Param("id") Integer id);

    Member findRelativeById(@Param("id") Integer id);
}
